
const globalData = {
  state: {
    predefineColors: [
      '#2d8cf0',
      '#19be6b',
      '#ff9900',
      '#ed4014',
      '#00b5ff',
      '#19c919',
      '#f9e31c',
      '#ea1a1a',
      '#9b1dea',
      '#00c2b1',
      '#ac7a33',
      '#1d35ea',
      '#8bc34a',
      '#f16b62',
      '#ea4ca3',
      '#0d94aa',
      '#febd79',
      '#5d4037',
      '#00bcd4',
      '#f06292',
      '#cddc39',
      '#607d8b',
      '#000000',
      '#ffffff'
    ]
  },
  mutations: {
    SET_PREDEFINE_COLORS: (state, colors) => {
      state.predefineColors = colors
    }
  },
  actions: {
    setPredefineColors({ commit }, colors) {
      commit('SET_PREDEFINE_COLORS', colors)
    }
  }
}

export default globalData
